home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11286 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Invalid Indirection???
  5. Date: 22 Mar 1996 14:43:57 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4ivafdINNdps@keats.ugrad.cs.ubc.ca>
  8. References: <4i7cck$t67@infa.central.susx.ac.uk> <4iah9k$r02@newshost.cyberramp.net> <danpop.826916016@rscernix> <4ips1j$fq0@airdmhor.gen.nz>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4ips1j$fq0@airdmhor.gen.nz>,
  12. Simon Hosie <gumboot@airdmhor.gen.nz> wrote:
  13. >Dan Pop:
  14. >> For the "innocent" readers: those spaces don't make ANY difference.
  15. >> They improve the readability for the humans, but are irrelevant to the
  16. >> compilers, because neither ]* nor *temp are valid tokens.  Ditto for
  17. >> )+, +( or )+(.
  18. >
  19. >  What's wrong with *temp?
  20.  
  21. What Dan Pop (who has a clue the size of Manhattan in this newsgroup, by the
  22. way) was clearly talking about is that ``*temp'' will never be _mistaken_ to be
  23. a _single_ token, whether or not you have the spaces. The lexical analyzer's
  24. pattern matching rules can readily separate the ``*'' from the ``temp''.  You
  25. do need spaces between any combinations of keywords and identifiers (``inti''
  26. is not an acceptable contraction of ``int i'') and in other contexts where the
  27. pre-processor will otherwise get confused.  
  28. -- 
  29.  
  30.